package com.example.jobback.service.recruiter;

import com.example.jobback.po.Company;
import com.example.jobback.req.common.page.PageReq;
import com.example.jobback.resp.manager.employee.page.seeker.MCrossGetPageSeekersResp;
import com.example.jobback.resp.recruiter.common.page.RCrossGetPageRecruitersResp;
import com.example.jobback.resp.recruiter.common.seeker.RCrossSeekerMessageResp;
import com.example.jobback.result.Result;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @InterfaceName: RecruiterCommonService
 * @Description:招聘者通用服务类接口
 * @Author: lhb
 * @Date: 2025/6/24
 */
@Service
public interface RecruiterCommonService {

    Company getCompanyMessage(Long companyId);

    List<Company> getCompanyMessagesByIds(List<Long> companyIds);

    Result<RCrossGetPageRecruitersResp> getRecruiters(PageReq pageReq);

    Result<RCrossSeekerMessageResp> getSeekerBasicMessage(Long userId);

    void deleteRecruiterPubPositionsRedis(Long deleteUserId, Long deleteRecruiterCompanyId);

    void deleteRecruiterUpdatePositionsRedis(Long deleteUserId, Long deleteRecruiterCompanyId);
}
